<?php
// Running this is a waste of L$10. Don't bother.
require_once '../../phpsimcaps.php';
if($argc != 5)
{
	print "Usage: php {$argv[0]} Firstname Lastname Password Animation.bvh\n";
	die();
}
$caps = new simcaps($argv[1],$argv[2],$argv[3],"Animation Upload Test");
$caps->setdebug(5);
$caps->login();
$uploader = new uploader($simcaps);
print "Uploaded texture: ";
// We need to provide more data. Running this results in an unusable anim.
print $uploader->uploadanim($argv[4],$argv[4],"Test Animation");
?>